/*    */ package com.zimbra.cs.mailbox;
/*    */ 
/*    */ import java.util.Collection;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class DeliveryOptions
/*    */ {
/* 29 */   private int mFolderId = -1;
/* 30 */   private boolean mNoICal = false;
/* 31 */   private int mFlags = 0;
/* 32 */   private String[] mTags = null;
/* 33 */   private int mConversationId = -1;
/* 34 */   private String mRecipientEmail = ":API:";
/* 35 */   private Message.DraftInfo mDraftInfo = null;
/* 36 */   private MailItem.CustomMetadata mCustomMetadata = null;
/*    */   
/* 38 */   public int getFolderId() { return this.mFolderId; }
/* 39 */   public boolean getNoICal() { return this.mNoICal; }
/* 40 */   public int getFlags() { return this.mFlags; }
/* 41 */   public String[] getTags() { return this.mTags; }
/* 42 */   public int getConversationId() { return this.mConversationId; }
/* 43 */   public String getRecipientEmail() { return this.mRecipientEmail; }
/* 44 */   public Message.DraftInfo getDraftInfo() { return this.mDraftInfo; }
/* 45 */   public MailItem.CustomMetadata getCustomMetadata() { return this.mCustomMetadata; }
/*    */   
/*    */   public DeliveryOptions setFolderId(int folderId) {
/* 48 */     this.mFolderId = folderId;
/* 49 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setFolderId(Folder folder) {
/* 53 */     this.mFolderId = folder.getId();
/* 54 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setNoICal(boolean noICal) {
/* 58 */     this.mNoICal = noICal;
/* 59 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setFlags(int flags) {
/* 63 */     this.mFlags = flags;
/* 64 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setTags(Collection<String> tags) {
/* 68 */     this.mTags = (tags == null ? null : (String[])tags.toArray(new String[tags.size()]));
/* 69 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setTags(String[] tags) {
/* 73 */     this.mTags = tags;
/* 74 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setConversationId(int conversationId) {
/* 78 */     this.mConversationId = conversationId;
/* 79 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setRecipientEmail(String recipientEmail) {
/* 83 */     this.mRecipientEmail = recipientEmail;
/* 84 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setDraftInfo(Message.DraftInfo draftInfo) {
/* 88 */     this.mDraftInfo = draftInfo;
/* 89 */     return this;
/*    */   }
/*    */   
/*    */   public DeliveryOptions setCustomMetadata(MailItem.CustomMetadata customMetadata) {
/* 93 */     this.mCustomMetadata = customMetadata;
/* 94 */     return this;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/mailbox/DeliveryOptions.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */